package com.cax.module.article.domain.vo;


import java.time.LocalDateTime;

import com.cax.module.file.domain.vo.File2VO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 文章表 VO
 * @author makejava
 * @date 2024-08-22 17:22:38
 */
@Data
@ApiModel(value = "ArticleVO", description = "文章表VO")
public class ArticleVO implements Serializable {
	private static final long serialVersionUID = 538699430643785169L;

    @ApiModelProperty(value = "文章表-主键id")
    private Integer id;

	@ApiModelProperty(value = "文章栏目id 来源article_column.id")
    private Integer articleColumnId;

	@ApiModelProperty(value = "标题")
    private String title;

	@ApiModelProperty(value = "概要")
    private String outline;

	@ApiModelProperty(value = "文章内容")
    private String content;

	@ApiModelProperty(value = "是否显示 0不显示 1显示 默认1")
    private Integer isView;

	@ApiModelProperty(value = "是否置顶 0否 1是 默认0")
    private Integer isTop;

	@ApiModelProperty(value = "是否滚动 0否 1是 默认0")
    private Integer isRoll;

	@ApiModelProperty(value = "点击量")
    private Integer clickNum;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

	@ApiModelProperty(value = "文件 标题图片")
	private List<File2VO> titleFiles;

	@ApiModelProperty(value = "文件 富文本文件")
	private List<File2VO> richFiles;

}

